FROM ds-images-java:v0.3

MAINTAINER Jimmy Lee

VOLUME ["/data"]

RUN yum install -y openssl

ENV PWD /etc/pki/ca-trust/extracted/java

ENV OLDPWD /etc/pki/ca-trust/extracted/openssl

RUN mkdir /usr/local/app

ADD ../target/*.jar /usr/local/app

WORKDIR /usr/local/app

EXPOSE 8080

ENTRYPOINT ["java","-jar","model.jar"]
